package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.User;

public interface UserService {
    public User findByUsername(String username);

    public PageResult findPage(QueryPageBean queryPageBean);

    public void add(Integer[] roleId, User user);

    void edit(Integer[] roleId, User user);

    void delete(Integer id);

    User findUserById(int id);
}
